<?php
/**
 * Created by PhpStorm.
 * User: LiuJiaJun
 * Date: 2019/1/10
 * Time: 17:04
 */

namespace api\storage\service;


class ReelsService extends BaseService
{


    public static function generateUpdateReels($count,$seatCode){
        return [
            'status'=>1,
            'count'=>$count,
            'seat_code'=>$seatCode
        ];
    }

    public static function generateReels($reelId,$materielId,$count,$seatCode,$containerCode,$storageUuid,$status = 1){
        return [
            'uuid'=>create_uuid(),
            'reel_id' => $reelId,
            'sub_materiel_id' =>$materielId,
            'count'=>$count,
            'seat_code'=>$seatCode,
            'container_code'=>$containerCode,
            'status'=>$status,
            'storage_uuid'=>$storageUuid,
            'time'=>get_current_time()
        ];
    }

}